Conversation
graspologic-native ships an unconditional pyo3 abi3-py39 feature (Cargo.toml), so its PyPI cp39 tag is just the abi3 floor, not a stale Python-version ceiling: one wheel covers every GIL-ful interpreter, with a separate build for the free-threaded cp314t leg. The crate graph has no -sys dependencies and no C toolchain requirement.
The three include entries shared no key with the base version dimension, so GitHub Actions applied them in sequence to the same single combination instead of fanning out, leaving only the last entry's tag/platform/build. Explicit platform/tag dimensions with an exclude, and CIBW_BUILD computed via format(), produce all three legs.
pip's default resolver preferred a newer public-PyPI numpy/scipy release over our registry's riscv64 wheel and fell back to building from sdist; scipy's sdist then failed on the test venv's missing OpenBLAS. PIP_ONLY_BINARY keeps the resolution on the wheels our registry actually ships for riscv64.
numpy and scipy are runtime dependencies of the built wheel, and neither has a musllinux_riscv64 build in this registry yet, so pip fell back to their manylinux riscv64 wheel inside the musl test container; numpy's compiled extension then failed to load against musl's dynamic linker. Manylinux is unaffected and keeps both legs.
Contributor
|
luhenry
added a commit
that referenced
this pull request
Oct 5, 2026
luhenry
marked this pull request as ready for review
October 5, 2026 18:17
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
graspologic-native1.3.1Compiles the Leiden community-detection pyo3 extension that backs the graspologic graph-statistics library. Upstream publishes no riscv64 wheel.
Mirrors upstream's
CI.ymlbuild job.Differs from upstream
LICENSEbesidepackages/pyo3/pyproject.tomlbefore building - maturin's licence glob is relative to the pyproject directory, so upstream's own wheels ship no licence text.Matrix: cp39-abi3 + cp314t - pyo3's
abi3-py39Cargo feature is unconditional, so one wheel covers every GIL-ful interpreter down to the floor the crate names.Testing
python -m unittestagainst the installed wheel)License: OK - MIT, nothing vendored.
Built on cp39 (abi3-py39) and cp314t; 6 passed on each.